Latest Questions

Python Kivy: 'kivy.properties.ObjectProperty' object has no attribute 'text'

I have only been looking into kivy for about 1 week for a school project, so I'm new to this module. I'm trying to do a login form where the program get the use

semi-log scale linear regression [Gnuplot]

I have an experimental data set that I linearize on a semi-log scale and of which I want to run a linear regression. The problem is that when I set a line as a

Jsony newHook has `SIGSEGV: Illegal storage access. (Attempt to read from nil?)` when deserializing into ref-objects

I am writing a web-application and am deserializing via jsony into norm-model-object types. Norm-model-types are always ref objects. Somehow my code which is ve

How to save local values from inside onMounted hook - Vue 3

how do I save assigned values from inside onMounted hook in Vue 3? My intention of saving the width and height values is so that can use to manipulate the value

How to improve speed simulation results with ODE45/23/23s/15s

I want to simulate an ODE system, very fast. I usually use Euler-Method because it's fast, but not the most stable nor accurate. But I want to use a more standa

sqlalchemy return constant dict in select

I am using sqlalchemy with MySql. I need to return a dict in select. Adding that dict value to fetched data is not an option. Is there any way in sqlalchemy or

Share central folder in Onedrive with MS Azure API application

Issue: Cannot create or access a central storage container within OneDrive using App Requirement: Create a central storage directory that is accessible for user

How to set up block chain locally

I have created a app to make transactions of money from one account to other, for that we have created a ledger table in mysql which runs in my local host very

mismatched input 'as'. Expecting: ',', <expression>

My query in PRESTO returns this error Query failed (#20220506_153121_03035_vycq3): line 6:41: mismatched input 'as'. Expecting: ',', I don't know why, anybod

HTML file does not work on web brower, what should I do? [closed]

//My HTML webpage cannot be displayed on browsers. It is just plain text. Please review my codes and see what is wrong. T.T I tried many ways

Creating Docker container for a micro-service based on node.js & grpc

I am trying to build a chat-service by using node.js and grpc, where two services running on different port can communicate to each other. I have created a sing

swapping array elements without a temporary variable

The following code: var words = ['javascript', 'hmtl', 'css', 'python']; words[0] = words[3]; words[3] = words[0]; alert(words); ...gives

How to run Gitlab-CI pipelines only branch and tag?

I just want to run pipelines when tagged from main branch. I tried using workflow but it doesn't work. This is my .gitlab-ci.yml file. workflow: rules: -

react-hook-form's validate function always returns errors

This is the one that occurs problem. <input type="text" name="nickname" {...register('nickname', { required: true, validate: async

how to convert lmd file to csv? [Flow Cytometry data]

lmd file extension is often used for generating flow cytometry data. But this couldn't be directly used for processing either in R or Python. Is there a way to

How to recognize Id attribute in rails form_tag?

I am using a form in rails to pass an id. That id will trigger the javascript Sweet Alert function which will pop up a modal with a confirmation message. When t

How to verify if the submodule hash is pushed to the remote?

I've a monorepo with many submodules,everytime a PR is raised on my monrepo to update hashes of the submodule, i need to run a jenkins job to see if the hashes

JavaFX wait for all listeners to finish

I created a method that accepts a CheckListView (controlsFX), an item List, a TextField searchField and a BiPredicate. This functions allows for filtering the i

rails tutorial Test errors that occur after Chapter 6

I'm a beginner. rails tutorial I got an error like this when I did a rails test after finishing Chapter 6 and before giving it to git. I did an integration test

Check Google pay's authentication mode

I'd like to set my Google pay to accept both authentication modes: "PAN_ONLY" and "CRYPTOGRAM_3DS". Then, during transaction flow, when I get the token, before

How do you initialize reference type class properties in a nullable context in Unity?

As you are supposed to use the Start() or Awake() methods instead of the class constructors in Unity to initialize your class properties, VisualStudio complains

How to use 15 length character key in flutter encrypt package

I'm going to use this package for encryption in the flutter application. It doesn't accept keys lower than 16 characters long. But I want to use 15 characters k

How should I optimize the order by index

1.select * from transactions where from_account_id = 51118 order by block_number, index desc limit 20; Limit (cost=295.39..4973.89 rows=20 width=605) ->

How to Close Statements and Connection in This Method

How to Close Statements and Connection in This Method public static ResultSet getData (String query){ try { Connection con = ConnectionPro

How to disable scroll on body when clicking on a p-dropdown within it

I am using few p-dropdown in my table header where I also have a horizontal scroll for it's container. When I click on any of these dropdowns, instead of openin

Why am I getting .slice is not a function? [closed]

I know that .slice() can only work on arrays and strings. I'm calling .slice() on an array and I am still getting that error. Here is my code:

Fetching data in level 3 of self-referencing / parent-child relationship

I am programming a multilevel menu / submenu in ASP.NET MVC. I have this table: Id Name ParentId ---------------------------------- 1

How to dynamically change material ui icon depending on the backend response?

I have a table and in this table, there is a column named status, and in this column, three values are returned from the backend, which are "approve", "Review"

How to convert CMSampleBuffer to OpenCV's Mat instance in swift

I am working on an OpenCV project where I am taking input from iPhone native camera as CMSampleBuffer now I wanted to create Mat instance that is required in Op

Mongodb aggregate group by then conditional sum, or, filter, push, using c#

Can someone please help to convert this query to C# .NET core? db.getCollection("accout").aggregate().match({ $or: [{"clientnum1": "xxxx"},{ "clientnum2": ""}],